
	
	this.handler = function(){
		
		this.get = function(){
			var returnText = "Could not find replies.", output =["<ul>"];
			
			if(request.uri.tokens.parent){
				var replies = storage.items.get({where:{parentId: request.uri.tokens.parent}});
				if(replies){
					replies.forEach(function(reply){
						var post = reply.value;
						var postHTML = post.commentHTML;
						postHTML = postHTML.replace(/^<p( cl|><)/, "<p><span class='nolink'>" + post.userId + "</span>:</p><p$1").replace(/^<p>([^<])/, "<p><span class='nolink'>" + post.userId + "</span>: $1");
						output.push("<li class='convo'>");
						output.push(postHTML);
						output.push("</li>");
					});
					
					output.push("</ul>")
				}
			}
			$("body").html((output.length > 1) ? output.join("") : returnText);	
				
		}
		
		this.post = function(){
			this.get();
		}
	}

